<!DOCTYPE html>
<html>
<head>
    <title>跟单员业务员表</title>
		<#include "/header.html">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/ziyun-erp.css">
</head>
<body>
<div id="rrapp" v-cloak>
    <div >
        <div class="grid-btn">
			<#if shiro.hasPermission("erpCustomerServieceUser:erpcustomerservieceuser:save")>
            <a class="btn btn-primary btn-sm" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<!--<#if shiro.hasPermission("erpCustomerServieceUser:erpcustomerservieceuser:update")>
            <a class="btn btn-primary btn-sm" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>-->
			<!--<#if shiro.hasPermission("erpCustomerServieceUser:erpcustomerservieceuser:delete")>
            <a class="btn btn-primary btn-sm" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>-->
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <!--<div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
                        <div class="form-group">
                        <div class="col-sm-2 control-label">用户名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="erpCustomerServieceUser.username" placeholder="用户名"/>
                        </div>
                    </div>
                        <div class="form-group">
                        <div class="col-sm-2 control-label">业务员</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="erpCustomerServieceUser.type" placeholder="业务员"/>
                        </div>
                    </div>
                        <div class="form-group">
                        <div class="col-sm-2 control-label">是否删除</div>
                        <div class="col-sm-10">
                            <el-switch
                                    v-model="erpCustomerServieceUser.delFlag"
                                    active-color="#13ce66"
                                    inactive-color="#ff4949">
                            </el-switch>
                        </div>
                    </div>
                    <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary  btn-sm" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning  btn-sm" @click="reload" value="返回"/>
            </div>
        </form>
    </div>-->
    <el-dialog title="新增" :visible.sync="addVisible" width="20%">
        <el-form :model="erpCustomerServieceUser" class="demo-form-inline" :inline="true">
            <el-form-item label="业务员姓名" >
                <el-input v-model="erpCustomerServieceUser.username"  autocomplete="off"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="reload">取 消</el-button>
            <el-button type="primary" @click="saveOrUpdate">确 定</el-button>
        </div>
    </el-dialog>
</div>

<script src="${request.contextPath}/statics/js/modules/erpCustomerServieceUser/erpcustomerservieceuser.js?_${.now?long}"></script>
</body>
</html>